#ifndef CONFFILE_H_
#define CONFFILE_H_

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include "semaphore.h"


/* globals */
int MaxNumOfProcesses;
int pageSize;
int NumOfPagesInMM;
int NumOfPagesInDisk;
int NumOfProcessPages;
int ShiftClock;

sem_t clockSem;
sem_t deamonSem;
sem_t tempsem;
pthread_mutex_t tempmutex;
void readConfFile(char* fileName);

#define FREE(x) if (x != NULL) { free(x); x = NULL;}

#endif /*CONFFILE_H_*/
